<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{$Think.config.site.title} - 操作日志</title>
    <meta name="keywords" content="{$Think.config.site.keywords}">
    <meta name="description" content="{$Think.config.site.description}">
    <link href="{$Think.config.site.resource_url}css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="{$Think.config.site.resource_url}css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="{$Think.config.site.resource_url}css/animate.css" rel="stylesheet">
    <link href="{$Think.config.site.resource_url}css/style.css?v=4.1.0" rel="stylesheet">
</head>
<style>
    .fa{ color:#1ab394;  cursor:pointer;}
</style>
<body >
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="row">
            <div class="col-sm-12">
            <style type="text/css">.col-sm-12 label{ font-weight:300; }</style>
                <div class="ibox float-e-margins">
                    <div class="">
                        <h5>{:lang('操作日志')}</h5>
                    </div>
                    <div class="row ibox-title">
                    </div>
                    <div class="ibox-content">

                        <table class="table table-hover" id="listtable">
                            <thead>
                                <tr>
                                    <th>{:lang('用户名')}</th>
                                    <th>{:lang('客服端IP地址')}</th>
                                    <th>{:lang('操作内容描述')}</th>
                                    <th>{:lang('操作系统')}</th>
                                    <th>{:lang('操作时间')}</th>
                                </tr>
                            </thead>
                            <tbody>
                            
                            {volist name="list" id="v"}
                                <tr data-id="{$v.id}">
                                    <td>{$v.name}</td>
                                    <td>{$v.ip}</td>
                                    <td>{$v.querystring}</td>
                                    <td>{$v.os}</td>
                                    <td>{$v.create_time|date="Y-m-d H:i:s",###}</td>
                                </tr> 
                            {/volist}
                            
                            </tbody>
                        </table>
                    </div>
                    <?php if($list){?>
                    <div class="row">
                        <div class="col-sm-6">
                            <div class="dataTables_info" id="DataTables_Table_0_info" role="alert" aria-live="polite" aria-relevant="all"></div>
                        </div>
                        <div class="col-sm-6">
                            <div class="dataTables_paginate paging_simple_numbers" id="DataTables_Table_0_paginate">
                                {$list->render()}
                            </div>
                        </div>
                    </div>
                    <?php } ?>
                </div>
            </div>
        </div>
    </div>

</body>

</html>
